"use weex:vue";

if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
  Promise.prototype.finally = function(callback) {
    const promise = this.constructor
    return this.then(
      value => promise.resolve(callback()).then(() => value),
      reason => promise.resolve(callback()).then(() => {
        throw reason
      })
    )
  }
};

if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
  const global = uni.requireGlobal()
  ArrayBuffer = global.ArrayBuffer
  Int8Array = global.Int8Array
  Uint8Array = global.Uint8Array
  Uint8ClampedArray = global.Uint8ClampedArray
  Int16Array = global.Int16Array
  Uint16Array = global.Uint16Array
  Int32Array = global.Int32Array
  Uint32Array = global.Uint32Array
  Float32Array = global.Float32Array
  Float64Array = global.Float64Array
  BigInt64Array = global.BigInt64Array
  BigUint64Array = global.BigUint64Array
};


(()=>{var f=Object.create;var i=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var x=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var y=(t,e,r,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of _(e))!v.call(t,s)&&s!==r&&i(t,s,{get:()=>e[s],enumerable:!(l=g(e,s))||l.enumerable});return t};var k=(t,e,r)=>(r=t!=null?f(m(t)):{},y(e||!t||!t.__esModule?i(r,"default",{value:t,enumerable:!0}):r,t));var d=x(($,c)=>{c.exports=Vue});var o=k(d());var b=(t,e)=>{let r=t.__vccOpts||t;for(let[l,s]of e)r[l]=s;return r};var w={box:{"":{backgroundColor:"#FFFFFF",borderRadius:"20rpx",paddingTop:0,paddingRight:"20rpx",paddingBottom:0,paddingLeft:"20rpx"}},fault:{"":{borderTopWidth:1,borderColor:"#E2E6EF",color:"#017EFE"}},stylf:{"":{height:"104rpx",alignItems:"center",justifyContent:"center"}},cancels:{"":{marginTop:"20rpx"}}},C={methods:{navRouter(t){uni.$emit("page-popup",t)}}};function F(t,e,r,l,s,n){return(0,o.openBlock)(),(0,o.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,o.createElementVNode)("div",null,[(0,o.createElementVNode)("div",{class:"box"},[(0,o.createElementVNode)("div",{class:"submit stylf",onClick:e[0]||(e[0]=u=>n.navRouter("/pages/tabbar/polling/submit/submit"))},[(0,o.createElementVNode)("u-text",null,"\u4E0A\u62A5\u56F0\u4EBA")]),(0,o.createElementVNode)("div",{class:"fault stylf",onClick:e[1]||(e[1]=u=>n.navRouter("/pages/tabbar/polling/fault/fault"))},[(0,o.createElementVNode)("u-text",null,"\u4E0A\u62A5\u6545\u969C")])]),(0,o.createElementVNode)("div",{class:"box stylf cancels",onClick:e[2]||(e[2]=u=>n.navRouter())},[(0,o.createElementVNode)("u-text",null,"\u53D6\u6D88")])])])}var p=b(C,[["render",F],["styles",[w]]]);var a=plus.webview.currentWebview();if(a){let t=parseInt(a.id),e="pages/tabbar/subNVue/popup",r={};try{r=JSON.parse(a.__query__)}catch(s){}p.mpType="page";let l=Vue.createPageApp(p,{$store:getApp({allowDefault:!0}).$store,__pageId:t,__pagePath:e,__pageQuery:r});l.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...p.styles||[]])),l.mount("#root")}})();
